Commit | Line | Data |
---|---|---|
212b6f5d MW |
1 | #!/bin/sh |
2 | ||
3 | # Using splogger to send the log through syslog. | |
4 | # Using dot-forward to support sendmail-style ~/.forward files. | |
5 | # Using binmail to deliver messages to /var/spool/mail/$USER by default. | |
6 | # Using BSD 4.4 binmail interface: /usr/libexec/mail.local -r | |
7 | ||
ed442cdc | 8 | exec env - PATH="/usr/bin:/usr/sbin$PATH" \ |
212b6f5d MW |
9 | qmail-start '|dot-forward .forward |
10 | |preline -f /usr/libexec/mail.local -r "${SENDER:-MAILER-DAEMON}" -d "$USER"' \ | |
11 | splogger qmail |